<?php
namespace action;
class Index extends Base{

    protected $_layout = '_project.php';

    function main(){
        $project = new \model\project\Manager();
        $projects = $project->find([]);
        $this->assign('projects', $projects);
    }

}